<?php

return [
  'v1/findUser'     => ['api/msg_code/get_username_status', ['method'=>'get']],
  'v1/getCode'      => ['api/msg_code/get_code', ['method' => 'get']],
  'v1/wxlogin'      => ['api/login/wxlogin', ['method' => 'post']],
  'v1/register'     => ['api/login/register/', ['method' => 'post']],
  'v1/login'        => ['api/login/login/', ['method' => 'post' ]],
  'v1/avator'       => ['api/login/upload_head_img', ['method' => 'post']],
  'v1/setPwd'       => ['api/login/set_pwd', ['method' => 'post']],
  'v1/changePwd'    => ['api/login/change_pwd', ['method' => 'post']],
  'v1/findPwd'      => ['api/login/find_pwd', ['method'=>'post']],
  'v1/bindUsername' => ['api/login/bind_username', ['method'=>'post']],
  'v1/nickname'     => ['api/login/set_nickname', ['method'=>'post']],

  'v1/miniIndex'     => ['api/index/index', ['method'   => 'get']],
  'v1/productPage'   => ['api/index/product_page', ['method' => 'get']],
  'v1/productDetail' => ['api/product/index', ['method' => 'post']],
  'v1/collection'    => ['api/product/collection', ['method' => 'post']],

  /*'v1/addArticle' => ['api/article/add_article', ['method'=>'post']],
  'v1/articleList' => ['api/article/article_list', ['method'=>'get']],
  'v1/articleDetail'    => ['api/article/article_detail', ['method'=>'get']],
  'v1/modifyArticle'   =>  ['api/article/update_article', ['method'=>'post']],
  'v1/delArticle'   => ['api/article/del_article', ['method'=>'get']] */
];

